package com.mightybird.designpattern.structural.proxy;

public class SearchLogger {
    public void logInfo(String userId) {
        System.out.println("info：用户" + userId + "使用了搜索功能");
    }

    public void logError(String userId) {
        System.out.println("info：用户" + userId + "无搜索权限");
    }
}
